home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 045a / ncopyi.zip / README.TXT < prev    next >
Text File  |  1991-11-06  |  58KB  |  2,353 lines

  1.  
  2.  
  3.            N  N         U  U  TTTT  I  L     I  TTTT  I  EEEE  SSSS 
  4.            NN N         U  U    T   I  L     I    T   I  E     S    
  5.            N NN         U  U    T   I  L     I    T   I  EE     SSS 
  6.            N  N          UU     T   I  LLLL  I    T   I  EEEE  SSSS 
  7.  
  8.          The N Utilities
  9.  
  10.               Novell Utilities for the Network Administrator
  11.  
  12.  
  13.  
  14.      To:      All Network Administrators
  15.  
  16.      From:    Darwin Collins, CNE
  17.               1216 Hilburn Ct
  18.               Irving, TX 75060
  19.               Home (214) 438-2353 After 7pm CST
  20.               Work (214) 573-8687 8am - 5pm CST
  21.  
  22.      Re:      Some utilities for Novell Networks!
  23.  
  24.  
  25.      Here are some general but productive utilities for the Network
  26.      Administrator.  They are all designed for interactive/batch use and
  27.      work with Netware 2.15 or later.  (Latest being Netware 3.11).
  28.      These utilities have been designed to help ease the network
  29.      administrator in his tasks of maintaining the network.
  30.      Please support the Shareware concept if these utilities save you
  31.      measurable amounts of time.  Details about registration are on the
  32.      last page.
  33.  
  34.      There are at least 30 utilities documented in this printable text
  35.      file.  Most are written using Microsoft C 6.0 and Netware C
  36.      Interface for DOS.  Also, included are some sample batch/login
  37.      scripts that illustrate some uses for the utilities.
  38.  
  39.      Utilities are described in the following documentation along with
  40.      the exitlevel codes.  Also, using  ?  as the first parameter when
  41.      executing a utility will display the syntax options allowed.
  42.  
  43.      Utilities marked 'currently unavailable' may be deleted from this
  44.      readme.txt if it is believed the utility will by difficult to
  45.      finish or appears to be unneeded.  If you do have a utility that
  46.      you would like to see, then please send a suggestion with your
  47.      registration fee.  If it is feasible to create it, then I will.
  48.  
  49.  
  50.      Caution:  It is best that you verify that your source for this
  51.      shareware (unregistered) package is a system that tries to verify
  52.      that its downloadable files are unmodified and clean.  It is
  53.      possible that someone may infect these files and/or modify these
  54.      programs and then redistribute them which then may cause you
  55.      grieve.  Please take adequate precautions.
  56.  
  57.                                   Page 1
  58.  
  59.  
  60.      NALLCARD
  61.  
  62.  
  63.          NALLCARD
  64.  
  65.  
  66.          This utility will poll all attached workstations for their
  67.          diagnostic packets.  It will display the Top 3 workstations
  68.          with the most errors, and it will create a ascii data file that
  69.          has the statistics from all polled workstations.
  70.          The ascii data file can be imported by a spreadsheet program.
  71.          Description of diagnostic codes are listed in Appendix A.
  72.  
  73.  
  74.          Returned Exitlevels are:
  75.  
  76.               9 - Syntax error.
  77.               8 - User must be logged in.
  78.               7 - Unable to access current working subdirectory.
  79.               4 - Unable to initialize IPX.
  80.               2 - Unable to open (output) report file.
  81.               0 - Normal Exit.
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.                                   Page 2
  114.  
  115.  
  116.      NCARD
  117.  
  118.  
  119.          NCARD [UserName or Connection Number]
  120.  
  121.          ei.  NCARD               get stats of current workstation.
  122.               NCARD BRENDA        get stats at BRENDA's station, or
  123.               NCARD 34            get stats at Connection # 34.
  124.                                   (specify the Connection # if the user
  125.                                   has not yet logged into the server.)
  126.  
  127.  
  128.          This utility will display the results from the diagnostic
  129.          statistics of the specified workstation.  It will only display
  130.          error statistics that are not equal to zero.
  131.          Description of diagnostic codes are listed in Appendix A.
  132.  
  133.  
  134.          Returned Exitlevels are:
  135.  
  136.               9 - Syntax error.
  137.               8 - User must be logged in.
  138.               7 - Specified connection is not active.
  139.               6 - Unable to access info on specified connection.
  140.               0 - Normal Exit.
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.                                   Page 3
  170.  
  171.  
  172.      NCHGOWN       (Supervisor-equilavent needed to run this utility)
  173.  
  174.  
  175.          NCHGOWN Drive:\Subdirectory OldOwnerName NewOwnerName
  176.  
  177.  
  178.          This utility will display/change the Directory/File ownership
  179.          of the current working subdirectory and all of its
  180.          subdirectories.  Valid ownernames consist of UserNames,
  181.          GroupNames and ServerNames.
  182.          It will ask:
  183.               OLD OWNER NAME to search or NA for deleted owners, or ALL
  184.                    for all owners found in the subdirectories
  185.               NEW OWNER NAME that the specified 
  186.  
  187.          Sample usages:  Files owned by deleted owners may be re-owned
  188.               by valid users; correctly document disk space usage by
  189.               ownership; overcome accounting limitation dealing with
  190.               deleted users; used with NRPTOWN, to produce an accurate
  191.               disk space consumption report for administration /
  192.               documentation purposes;
  193.  
  194.          Example:  NCHGOWN \APPS\ACAD11 ALL AUTOCAD
  195.                    will change the ownership of all files/directories at
  196.                    \APP\ACAD11 and all its subdirectories to the group
  197.                    owner AUTOCAD.
  198.  
  199.  
  200.          Returned Exitlevels are:
  201.  
  202.               9 - Syntax error.
  203.               8 - User must be logged in.
  204.               7 - Unable to access current work subdirectory.
  205.               6 - Must be supervisor or equivalent.
  206.               5 - Operating error.
  207.               4 - Unable to access specified subdirectory / not a server
  208.                    subdirectory.
  209.               3 - Unable to access subdirectory.
  210.               0 - Normal Exit.
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.                                   Page 4
  226.  
  227.  
  228.      NCHKCSYS
  229.  
  230.  
  231.          NCHKCSYS  MinimumFiles MinimumBuffers MinimumEnvironment
  232.  
  233.  
  234.          This utility will read the workstation's (C:\CONFIG.SYS) file
  235.          and check if the file has the minimum count of items that you
  236.          specify above.
  237.  
  238.          If COMMAND.COM does not exist on Drive C:, it will then attempt
  239.          to read CONFIG.SYS on Drive A:
  240.  
  241.          Sample Usage:  Modifying all workstations so that they will re-
  242.          serve more environment space (needed if your users have alot of
  243.          SET and/or PATH parameters); ensure that all workstations in
  244.          the field have the needed minimum conditions to operate safely
  245.          on the network; to overrule an individual 'fooling' with his
  246.          workstation;
  247.  
  248.  
  249.          Returned Exitlevels are:
  250.  
  251.               9 - Syntax error.
  252.               7 - Error reading CONFIG.SYS
  253.               6 - Error writing CONFIG.SYS
  254.               5 - Wrote New CONFIG.SYS
  255.               4 - Files number increased.
  256.               3 - Buffers number increased.
  257.               2 - Environment Space number increased.
  258.               0 - No changes made to CONFIG.SYS
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.                                   Page 5
  282.  
  283.  
  284.      NCHKRPRN           Brand New!
  285.  
  286.  
  287.          NCHKRPRN  PrintServerName  ALL
  288.               To display status of all printers on specified Print
  289.               Server.
  290.  
  291.          NCHKRPRN  PrintServerName  Printer#
  292.               To display status of specified printer and specified Print
  293.               Server.
  294.  
  295.          NCHKRPRN  CHECK
  296.               Read the (\PUBLIC\NCHKRPRN.LST) file listing to check if
  297.               the current workstation should be running RPRINTER.  If it
  298.               is, then report the status of the specified RPRINTER  (Not
  299.               Connected, Change Paper, Ready, ...).  If a Print JobName
  300.               exists in the \NCHKRPRN.LST file for the current station,
  301.               then start a CAPTURE using the specified Print JobName.
  302.  
  303.  
  304.          This utility will report the current status of the specified
  305.          printer on the specified Print Server.  Also, it can warn the
  306.          enduser that his printer needs attention, and also return an
  307.          exitlevel based upon the printer status.  (Also, this exitlevel
  308.          will enable the administrator to modify the flow on the batch
  309.          file.)
  310.  
  311.  
  312.          The following example will check to see if the current
  313.          workstation should be running RPRINTER.  If it should, then
  314.          check the status.  If RPRINTER is NOT CONNECTED (level: 2),
  315.          then  PAUSE  the screen so that the enduser can see the
  316.          message.  Otherwise, if it is not that error, then skip to the
  317.          rest of the batch file.
  318.  
  319.               NCHKRPRN CHECK
  320.               IF EXITLEVEL 3 GOTO NOPROB
  321.               IF NOT EXITLEVEL 2 GOTO NOPROB
  322.               rem  Not Connected
  323.               PAUSE
  324.               :NOPROB
  325.  
  326.  
  327.          View the file  NCHKRPRN.LST, for the correct data format of
  328.          workstation RPRINTER information.
  329.  
  330.          Sample Usages;  when setup, it will warn the enduser that he
  331.          needs to take action (Turn ON Printer, Reboot, ...) for the
  332.          printer that is directly attached to his station, while running
  333.          with RPRINTER;
  334.  
  335.  
  336.  
  337.                                   Page 6
  338.  
  339.  
  340.      NCOPYIPX
  341.  
  342.  
  343.          NCOPYIPX WorkStationDrive:\Path\IPX.COM
  344.  
  345.  
  346.          This utility will read the WorkStation's IPX.COM version and
  347.          configuration information.  It will match this against the
  348.          master on the server, and if the workstation doesn't match, it
  349.          will copy IPX.COM from the server to the workstation.  
  350.  
  351.          New on Sept. 19, 1991:  This utility will read NCOPYIPX.LST in
  352.          the current working subdirectory.  This list file will contain
  353.          workstation lan option names, and the pathname that the drivers
  354.          will be found for the specified driver type.  So, hence, you
  355.          CAN separate drivers that are made by the same manufacturer
  356.          and/or different driver types made for the same card type.
  357.          Read NCOPYIPX.LST for syntax of readable text list file.
  358.  
  359.          This utility can run as a standalone without the workstation's
  360.          network drivers loaded.(if needed)
  361.  
  362.          Sample usage:  Easily! upgrade workstations to different IPX
  363.               versions (IPX.COM);
  364.  
  365.          The current working subdirectory (that this program is called
  366.          from) must have a structure that is in a
  367.               PathName \ Interrupt# \ I/O Base \ IPX.COM  order.
  368.          For example:
  369.  
  370.               G_ETHERN\IRQ3
  371.               G_ETHERN\IRQ3\II
  372.               G_ETHERN\IRQ5\220h
  373.               G_ETHERN\IRQ5\240h
  374.               G_ETHERN\IRQ15\240h
  375.               G_ETHERN\IRQ15\240h\II
  376.               NETWORTH\IRQ12\240h
  377.               NETWORTH\IRQ15\240h
  378.               NETWORTH\IRQ15\240h\II
  379.                    EtherNet II frame IPX files are in II subdirectory.
  380.                    This utility can read the difference between a normal
  381.                    802.3 and an EtherNet II type frame.  The Ethernet_II
  382.                    framed IPX.COM but be located in the II subdirectory
  383.                    of the interrupt or the IOBase subdirectory.
  384.  
  385.          If the driver (IPX.COM) does not exist in the I/O Address
  386.          subdirectory, then it will look in the Interrupt subdirectory.
  387.          (So, hence, it will get a Networth Irq=15 IOBase=340h 's
  388.          IPX.COM from the NETWORTH\IRQ15 subdirectory if
  389.          NETWORTH\IRQ15\340h does not exist.)
  390.  
  391.          This utility has been tested on drivers by:
  392.  
  393.                                   Page 7
  394.               3-COM               Thin Wire NICs
  395.               Networth            10BaseT NICs
  396.               Gateway             Thin Wire NICs
  397.               Western Digital     Thin Wire NICs
  398.               Xircom              10BaseT Adapters
  399.  
  400.          What is wonderful about the 16bit cards, is that you set the
  401.          cards for higher interrupts than 10 to help reduce the
  402.          possibilities of conflict.
  403.          Example Setup:
  404.               in a batch file is:
  405.               CD F:\SUPPORT\DRIVERS         change to driver
  406.                                             subdirectory
  407.               NCOPYIPX C:\NET\IPX.COM       execute this utility with it
  408.                                             specifying that the
  409.                                             workstation drivers are in
  410.                                             C:\NET subdirectory.
  411.  
  412.               The program will first read the manufacturer, IRQ, and I/O
  413.               Base from the IPX driver.  It will display a message
  414.               similar to:
  415.                         Workstation Lan Option: Networth ...
  416.                         Path: Networth   Irq: IRQ15   Base: 340h
  417.  
  418.               so, the program will first look in the subdirectory
  419.               NETWORTH\IRQ15\340H for the IPX.COM file, if it doesn't
  420.               find it here then it go to the NETWORTH\IRQ15
  421.               subdirectory.  These subdirectories (NETWORTH\IRQ15, ...)
  422.               must be found under the current subdirectory (ei.
  423.               F:\SUPPORT\DRIVERS in this example) or else a message will
  424.               be returned that the driver was not found.
  425.  
  426.  
  427.          Returned Error Codes are:
  428.  
  429.               9 - Incorrect or Short Command Line parameter
  430.               8 - Workstation IPX.COM not found
  431.               7 - Could not read Workstation's temporary IPX
  432.               6 - Server IPX.COM not found
  433.               5 - Could not write workstation IPX.COM
  434.               4 - Could not read Server IPX.COM
  435.               3 - Error writing new IPX.COM file
  436.               1 - Workstation IPX.COM has been updated
  437.               0 - Date/Time stamp same between Server and Workstation
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.                                   Page 8
  450.  
  451.  
  452.      NCOPYNEW
  453.  
  454.  
  455.          NCOPYNEW Drive:\Path\SourceFileName Drive:\Path\DestFileName
  456.  
  457.  
  458.          This utility will copy contents of SourceFileName to
  459.          DestFileName, if DestFileName is older than SourceFileName or
  460.          if DestFileName does not exist.  Presently wildcards are not
  461.          supported.  This utility is small enough that it may be called
  462.          (Shelled) by another program.
  463.  
  464.          Sample usages:  Distribute newer versions of software that is
  465.               used on the workstation; distribute memos, files, and
  466.               other mass distribution;
  467.  
  468.  
  469.          Returned Error Codes are:
  470.  
  471.               9 - Invalid syntax
  472.               8 - Could not find the 1st file             
  473.               7 - Error occurred while accessing 2nd file 
  474.               6 - Error occurred while writing to 2nd file
  475.               1 - 1st FileName copied over 2nd FileName   
  476.               0 - Date/Time stamp same                    
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.                                   Page 9
  506.  
  507.  
  508.      NCOPYSCR
  509.  
  510.  
  511.          NCOPYSCR Drive:\Path\ScriptFile
  512.  
  513.  
  514.          This utility is similar to NCOPYNEW except that it reads a
  515.          script file instead of the prompt line.  A sample script file
  516.          is provided.
  517.          If the symbol ! is used before the source path\filename in the
  518.          script file, then the utility will copy the file to the
  519.          destination if the date/time stamp is not the same.
  520.          If no beginning symbol is used, then the normal 'copy if
  521.          outdated' rule applies.
  522.  
  523.          Sample usages:  Distribute newer versions of software that is
  524.               used on the workstation; distribute memos, files, and
  525.               other mass distribution;
  526.  
  527.  
  528.          Returned Error Codes are:
  529.  
  530.               9 - Syntax Error.
  531.               8 - Unable to find Script File.
  532.               6 - Error writing destination file.
  533.               0 - Normal Exit.
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.                                   Page 10
  562.  
  563.  
  564.      NCPY2SUB
  565.  
  566.  
  567.          NCPY2SUB Drive:\Path\FileName
  568.  
  569.  
  570.          This utility will copy FileName to all existing subdirectories
  571.          of the current default subdirectory.
  572.          Example:
  573.                    current subdirectory: \GRP\DOC
  574.                    NCPY2SUB \USR\SMITH\BLANKMEM.DOC
  575.                    the result will be that BLANKMEM.DOC will be copied
  576.                    to all subdirectories of \GRP\DOC  (like
  577.                    \GRP\DOC\AL, \GRP\DOC\BRENDA, \GRP\DOC\CARL, ...)
  578.  
  579.          Sample usages: distribution of configuration/document files to
  580.               individual subdirectories that are below current working
  581.               subdirectory;
  582.          Note: This utility in the past was very useful for it was a
  583.          quick way to copy the PRINTCON.DAT (Print Job Configuration
  584.          file) to all users but now the utility NMANPCON does a much
  585.          better job of this.
  586.  
  587.  
  588.          Returned Error Codes are:
  589.  
  590.               9 - Syntax Error.
  591.               8 - Unable to find specified file.
  592.               6 - Error writing destination file.
  593.               0 - Normal Exit.
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.                                   Page 11
  618.  
  619.  
  620.      NDATEDIR
  621.  
  622.  
  623.          NDATEDIR Drive:\Subdirectory
  624.  
  625.  
  626.          This utility will set all files in the current working
  627.          subdirectory (or specified in the command line) to the current
  628.          Date/Time stamp.
  629.  
  630.          Sample usages:  Files that you want to always to be archived by
  631.               the backup software; mark document subdirectories with all
  632.               the same date/time stamp;
  633.  
  634.          (specially useful for those important databases that you want
  635.          to ensure that they are completely backed up even during
  636.          incremental backup sessions)
  637.  
  638.  
  639.          Returned Error Codes are:
  640.  
  641.               9 - Syntax Error.
  642.               8 - Error accessing home subdirectory.
  643.               7 - Error accessing specified subdirectory.
  644.               0 - Normal Exit.
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.                                   Page 12
  674.  
  675.  
  676.      NDELPRNJ
  677.  
  678.  
  679.          NDELPRNJ QueueName UserName
  680.  
  681.  
  682.          This utility will delete all Print Jobs created by UserName.
  683.          The user executing this utility must have sufficient rights to
  684.          delete print jobs.
  685.          If only the QueueName is specified, then all Print Jobs that
  686.          the user has security rights can be deleted for the specified
  687.          queue.
  688.          If the QueueName and UserName is specified, then all Print Jobs
  689.          for the specified Queue and UserName are deleted.
  690.  
  691.          Sample usages:  Allow users delete their active print jobs by
  692.               selecting an option in your menuing system;  Delete all
  693.               hung(Out of Paper, Printer OffLine, ...) PrintJobs so that
  694.               the Backup Machine (usually after Midnight) may backup the
  695.               File Server without waiting forever on the queue files to
  696.               close (so this way, also backing up the queue directory
  697.               structures);
  698.  
  699.  
  700.          Returned Error Codes are:
  701.  
  702.               9 - Syntax Error.
  703.               8 - Must be Logged In.
  704.               7 - Unable to find specified queue.
  705.               6 - Unable to find specified username.
  706.               5 - Insufficent Queue Rights.
  707.               4 - Unable to access PrintJob List.
  708.               2 - Specified Queue is empty.
  709.               1 - Deleted available PrintJobs.
  710.               0 - Normal Exit.
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.                                   Page 13
  730.  
  731.  
  732.      NDISK
  733.  
  734.  
  735.          NDISK Drive:
  736.  
  737.          This utility will display the total capacity and available disk
  738.          space of specified drive.  The available disk space will also
  739.          be returned as an errorlevel in increments of 1 Megabyte (1024
  740.          * 1024 bytes).  The maximum exitlevel returned is 255.
  741.  
  742.          Sample usages:  help alert the administrator to low disk space
  743.               available; placed in a batch file will automatically
  744.               delete redundant files if disk space is low;
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.                                   Page 14
  786.  
  787.  
  788.      NDOSVER
  789.  
  790.  
  791.          NDOSVER
  792.          If errorlevel 5 echo DOS 5 or later found
  793.          If errorlevel 4 echo DOS 4 or later found
  794.          if errorlevel 3 echo DOS 3 or later found
  795.          if errorlevel 2 echo DOS 2 or later found
  796.  
  797.  
  798.          This utility will return the major dos version as a errorlevel
  799.          exit code.  This is useful for batch files that need to call
  800.          specific programs based on the DOS version.
  801.          Sample Use: Load the correct version of NETx.COM, 
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.                                   Page 15
  842.  
  843.  
  844.      NEMSMEM
  845.  
  846.  
  847.          NEMSMEM
  848.  
  849.  
  850.          This program will return the amount of Expanded Memory (EMS)
  851.          available.  It will return the amount 10K increments as an
  852.          ExitLevel.  For example, if NEMSMEM found 2304K available, then
  853.          it will return with an exitlevel of 230.  The maximum exitlevel
  854.          that can be returned is 255.
  855.  
  856.          Sample Usages:  Insert before a application call in a batch
  857.               file, and if there isn't enough memory available, then
  858.               goto the appropriate message in the batch file;
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.                                   Page 16
  898.  
  899.  
  900.      NEQUA
  901.  
  902.  
  903.          NEQUA  ObjectName
  904.  
  905.  
  906.          This utility will return an errorlevel of 0, if the current
  907.          user is a Security Equivalent of specified ObjectName.
  908.          ExitLevel 1, if it is not equivalent.
  909.  
  910.          Sample Usage:  batch files can be tuned to specific types of
  911.          users;  
  912.  
  913.  
  914.          Sample:        NEQUA SUPERVISOR
  915.                         IF ERRORLEVEL 1 THEN GOTO  (normal user)
  916.                         super-batch-stuff
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.                                   Page 17
  954.  
  955.  
  956.      NGETTIME
  957.  
  958.  
  959.          NGETTIME
  960.  
  961.  
  962.          This utility will display the current date / time on all
  963.          attached servers.  This will help you decide if you need to run
  964.          NSETTIME.
  965.  
  966.  
  967.          Returned Error Codes are:
  968.  
  969.               1 - User must be logged in.
  970.               0 - Normal Exit.
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.                                   Page 18
  1010.  
  1011.  
  1012.      NGROUP
  1013.  
  1014.  
  1015.          NGROUP GroupName
  1016.  
  1017.  
  1018.          This utility will return an errorlevle of 0, if the current
  1019.          user is a member of specified GroupName.
  1020.  
  1021.          ExitLevel 1, if it is not a member.
  1022.  
  1023.          Sample Usage:  batch files can be tuned to specific types of
  1024.          users;  
  1025.  
  1026.  
  1027.          Sample:        NGROUP BTRIEVE
  1028.                         IF ERRORLEVEL 1 THEN GOTO  (normal user)
  1029.                         load Brequest
  1030.                         other Btrieve specifics
  1031.  
  1032.  
  1033.          Sample:        NGROUP ANTIVIRUS
  1034.                         IF ERRORLEVEL 1 THEN GOTO  (skip this section)
  1035.                         run antivirus
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.                                   Page 19
  1066.  
  1067.  
  1068.      NLOGADDR
  1069.  
  1070.  
  1071.          NLOGADDR Drive:Path\FileName /N
  1072.  
  1073.          /N is optional command, that will ask the user to type in a 30
  1074.          character description of this workstation.
  1075.  
  1076.          This utility will get physical address of UserName and insert
  1077.          this information into the specified database FileName.
  1078.  
  1079.          Sample usages:  Track login usage at the workstation level;
  1080.          trace program usage by physical station; trace previous logins
  1081.          at work station; track usage of work stations; track
  1082.          workstation conditions;  allows the network administrator a
  1083.          quick way to find who had been lately accessing the event by a
  1084.          specific workstation;
  1085.  
  1086.          Example placed in a batch file:
  1087.               NDISK C:
  1088.               IF ERRORLEVEL 2 NLOGADDR F:\WARNINGS\LOWDISK.LST
  1089.               IF C:\WP\WP.EXE NLOGADDR F:\INVENT\WPUSER.TXT
  1090.  
  1091.          The database file is in a fixed format cr/lf text file, so
  1092.          hence the administrator can do searches/lookup using any text
  1093.          editor.
  1094.  
  1095.          DataFile Layout   Field Name            Length
  1096.  
  1097.                         Physical Address           14
  1098.                         Notes                      32
  1099.                         Last Login Date             9
  1100.                         Last Login Time             6
  1101.                         Last Login Name            16
  1102.                         Previous Login Date         9
  1103.                         Previous Login Time         6
  1104.                         Previous Login Name        16
  1105.                         2nd Previous Login Date     9
  1106.                         2nd Previous Login Time     6
  1107.                         2nd Previous Login Name    16
  1108.                         Blank Space (20h)           1
  1109.                         Carriage Return (0Dh)       1
  1110.                         Line Feed (0Ah)             1
  1111.                                        ============
  1112.                                        Total  140
  1113.  
  1114.          Exit Codes:
  1115.               9 - Syntax Error.
  1116.               8 - Could not read/write to Datafile
  1117.               7 - Could not get workstation physical address
  1118.               2 - Added Login Time to existing record
  1119.               1 - Added record for this Physical address
  1120.  
  1121.                                   Page 20
  1122.  
  1123.  
  1124.      NLOGEVT
  1125.  
  1126.  
  1127.          NLOGEVT Command Drive:\Path\DataName
  1128.  
  1129.               Command choices:
  1130.  
  1131.                    B    Begin Date/Time Event for workstation
  1132.                         (log to specified DataFile)
  1133.                    E    End Date/Time Event for current workstation
  1134.                         (log to specified DataFile)
  1135.                    R    Create user (summary and sorted) usage report
  1136.                         for specified DataFile.
  1137.  
  1138.          This utility will track usage of events.  These events could
  1139.          range anywhere from keeping track of user login time to
  1140.          application utilization.  The data will be kept in the
  1141.          specified datafile (random-access fixed-field text-file).  This
  1142.          raw file can be view or printed by the network administrator.
  1143.  
  1144.          For example, you may want to keep track of who and how often
  1145.          endusers will execute a specific application.  So, in this case
  1146.          you would begin the event (ei: NLOGEVT B APP1) before you
  1147.          execute the application.  Then, in your batch file, you would
  1148.          end the event (ei: NLOGEVT E APP1) after you have finished the
  1149.          application.   Later, when you view (or do a report) on the
  1150.          specified log file (ei: NLOGEVT R APP1), you would see some
  1151.          usage stats on the User, like:
  1152.          Address        Physical Address that the enduser was at when
  1153.                         the application was ran.
  1154.          LoginName      LoginName of the enduser that accessed the
  1155.                         specified event.
  1156.          StartDate      Start date of the event for the displayed
  1157.                         loginname and station.
  1158.          StartTime      Start time of the event for the displayed
  1159.                         loginname and station.
  1160.          EndDate        End date of the event for the displayed
  1161.                         loginname and station.
  1162.          EndTime        End time of the event for the displayed
  1163.                         loginname and station.
  1164.          Abends         Number of times that the enduser rebooted or
  1165.                         otherwise did not EndEvent (ei:NLOG E APPNAME)
  1166.                         after running the application.  Or, another
  1167.                         words, the number of times that the utility was
  1168.                         told to Begin an event that already had started.
  1169.          Event Count    Number of times that an event occurred, hence,
  1170.                         the number of times that an enduser had accessed
  1171.                         the specified event.
  1172.          Event Amount   Total number of hours that the specified event
  1173.                         has accumulated.
  1174.  
  1175.  
  1176.  
  1177.                                   Page 21
  1178.  
  1179.  
  1180.      NMANPCON
  1181.  
  1182.  
  1183.          Note:  Probably you are using that SMODE trick so that you can
  1184.          use a master printcon.dat, but since it different then the
  1185.          standard operating environment, you may already been bit by the
  1186.          weaknesses of the system.  Well, this utility allows you to
  1187.          keep using a master file, without applications flaking out on
  1188.          you.  Also, this approach allows smart applications using the
  1189.          standard operating environment to capitalize on the individual
  1190.          print job configurations.
  1191.          I mean like why display a PrintJob Names to users that don't
  1192.          have the access to use them, huh?   Well, anyone way, this
  1193.          utility is to help big shops standardize.
  1194.  
  1195.  
  1196.          NMANPCON [UserName or GroupName]        This is Great !
  1197.  
  1198.               NMANPCON BRENDA     Create new printer configuration file
  1199.                                   for User BRENDA.
  1200.               NMANPCON EVERYONE   Create a new printer configuration
  1201.                                   file for all users that are a member
  1202.                                   of group EVERYONE.
  1203.  
  1204.  
  1205.          This utility will first copy the Supervisor's PRINTCON.DAT to
  1206.          specified users, and then for each user, it will remove job
  1207.          configurations that the individual user does not have
  1208.          sufficient security access.  (not a member of Queue User).
  1209.          So, hence, if you are using this with the utility NSELPRNJ, you
  1210.          never have to explain about JobNames that the users don't have
  1211.          access to, because they simply aren't displayed.
  1212.  
  1213.          Also, this will enable you to not worry about going through the
  1214.          PRINTCON routine for all your users whenever a new jobname,
  1215.          printer, or other changes are required.  Now, just set up the
  1216.          supervisor's (or supervisor equivalent) printcon configuration
  1217.          the way you like it, and then run this utility.  All users will
  1218.          then have a correct printcon file.
  1219.  
  1220.          You would need to only run this utility if:
  1221.               .  Modified the supervisor's PRINTCON.DAT file and want it
  1222.               to effect other users.
  1223.                    If it only effects a specific group, do:
  1224.                         NMANPCON  GroupName
  1225.                    else, if it effects everyone, then do:
  1226.                         NMANPCON  EVERYONE
  1227.               .  Added a new user, and so you want to create the user's
  1228.               PRINTCON.DAT configuration from the master copy.
  1229.                    Do:  NMANPCON  NewUserName
  1230.                         and thats it!
  1231.  
  1232.  
  1233.                                   Page 22
  1234.  
  1235.          Sample Usages:  Make maintaining printcon.dat files a breeze,
  1236.               for you only have to maintain on master copy; used in
  1237.               conjunction with NSELPRNJ makes an easier to use turn-key
  1238.               system; run this utility after creating new users will
  1239.               then result in a printcon.dat file correctly configured
  1240.               for those users;
  1241.  
  1242.  
  1243.          Returned Error Codes are:
  1244.  
  1245.               9 - Syntax Error.
  1246.               8 - Must be Logged In.
  1247.               7 - Unable to access current subdirectory.
  1248.               6 - Unable to find specified User or Group.
  1249.               5 - Unable to access server's MAIL subdirectory.
  1250.               4 - Unable to access supervisor's PRINTCON.DAT file.
  1251.               3 - Error in Supervisor's PRINTCON.DAT file structure.
  1252.               0 - Normal Exit.
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.                                   Page 23
  1290.  
  1291.  
  1292.      NMEM
  1293.  
  1294.  
  1295.          NMEM
  1296.  
  1297.  
  1298.          This small utility will report amount of conventional memory
  1299.          available to programs.  It will return an exitlevel by 10K
  1300.          increments.
  1301.          For example, if NMEM says that 250K is available then it will
  1302.          return an exitlevel of 25.
  1303.  
  1304.          Sample Usages:  Insert before a application call in a batch
  1305.               file, and if there isn't enough memory available, then
  1306.               goto the appropriate message in the batch file;
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.                                   Page 24
  1346.  
  1347.  
  1348.      NOPNFILE           (Only the Netware 2.x version is working)
  1349.  
  1350.  
  1351.          NOPNFILE [UserName or Connection Number]
  1352.  
  1353.          ei.  NOPNFILE BRENDA     get stats at BRENDA's station, or
  1354.               NOPNFILE 34              get stats at Connection # 34.
  1355.               NOPNFILE            will search the current directory for
  1356.                                   any open files.
  1357.  
  1358.  
  1359.          This utility will display the files that are open and current
  1360.          access levels.
  1361.  
  1362.  
  1363.          Returned Error Codes are:
  1364.  
  1365.               9 - Syntax Error.
  1366.               8 - Must be Logged In.
  1367.               7 - Must have Console Operator rights.
  1368.               6 - Specified User not found.
  1369.               5 - Specified user is not logged in.
  1370.               4 - Unable to use this utility with Netware 386.
  1371.               1 - Opened files found.
  1372.               0 - No Open Files found.
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.                                   Page 25
  1402.  
  1403.  
  1404.      NRPTBIND
  1405.  
  1406.  
  1407.          NRPTBIND ObjectName Answer
  1408.  
  1409.               if ObjectName is a User, then a User Report is created.
  1410.                    Answer Parameter is ignored.
  1411.                         ei.   NRPTBIND BONNIE
  1412.                                   for a User Report on user  BONNIE
  1413.               if ObjectName is a Group, then a Group Report is created.
  1414.                    Answer Parameter is used for question: "Create a
  1415.                    UserReport for every member in this Group (Y/N) ?".
  1416.                         ei.   NRPTBIND AUTOCAD N
  1417.                                   for a Group Report on group AUTOCAD
  1418.                         ei.   NRPTBIND AUTOCAD Y
  1419.                                   for an individual user report for
  1420.                                   every user that is a member of group
  1421.                                   AUTOCAD.
  1422.               if ObjectName is a Queue, then a Queue Report is created.
  1423.                    Answer Parameter is ignored.
  1424.                         ei.   NRPTBIND DOC-HPIII
  1425.                                   for a Queue Report on queue DOC-HPIII
  1426.               if ObjectName is a PrintServer, then a PrintServer Report
  1427.                         is created.
  1428.                    Answer Parameter is ignored.
  1429.                         ei.   NRPTBIND TRITON-P
  1430.                                   for a PrintServer Report about
  1431.                                   PrintServer named TRITON-P
  1432.  
  1433.  
  1434.          This utility will create a report for individual users, groups,
  1435.          print queues, and print servers depending on the specified
  1436.          command.
  1437.          If it is a User Report, then it will contain  Account
  1438.          Information, Direct Trustee Assignments, Group Members,
  1439.          Security Equivalences, and Queue Membership.
  1440.          If it is a Group Report, then it will only contain Direct
  1441.          Trustee Assignments, Group Members and Queue Membership.
  1442.          If it is a Queue Report, then it will contain a Queue
  1443.          Subdirectory, Queue Servers, Queue Operators and Queue Users.
  1444.          If it is a PrintServer Report, then it will contain a list of
  1445.          the PrintServer's operators and users.  Configurations for all
  1446.          configured printers, with its defined queue and notify
  1447.          settings.
  1448.  
  1449.          Note: You must a supervisor equivalent to run this report, or
  1450.          else it will only let you run a report on yourself.
  1451.  
  1452.          Sample Usages:  Document newly created users/groups/queues;
  1453.               Check status on User access status; Document your LAN;
  1454.               Avoid the trouble of needing to print-screen your
  1455.               settings;
  1456.  
  1457.                                   Page 26
  1458.  
  1459.  
  1460.          Returned Error Codes are:
  1461.  
  1462.               9 - Syntax Error.
  1463.               8 - Must be Logged In.
  1464.               7 - Unable to access current subdirectory.
  1465.               5 - Unable to find specified User / Group.
  1466.               2 - Error writing Report File.
  1467.               0 - Normal Exit.
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.                                   Page 27
  1514.  
  1515.  
  1516.      NRPTCONN  (Only the Netware 2.x version is working)
  1517.  
  1518.  
  1519.          NTRPTCONN
  1520.  
  1521.  
  1522.          This utility will display the top 10 workstations with the
  1523.          greatest amount of Total Packet Requests, KBytes Read, and
  1524.          KBytes Written.  (1 KBytes = 1024 Bytes).  A spreadsheet
  1525.          importable datafile will be written with all workstation info.
  1526.          Then sampling will be taken every 10 seconds, with the top 5
  1527.          workstations displayed.  Press any key to exit utility.
  1528.  
  1529.          User must have Console Operator rights.
  1530.  
  1531.          Usages:  Find the workstation(s) that is hogging down server
  1532.          resources;
  1533.  
  1534.  
  1535.          Returned Error Codes are:
  1536.  
  1537.               9 - Syntax Error.
  1538.               8 - Must be Logged In.
  1539.               7 - Unable to access current subdirectory.
  1540.               6 - Must be a Console Operator.
  1541.               5 - Error writing Report File.
  1542.               4 - Can use with Netware 386.
  1543.               0 - Normal Exit.
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.                                   Page 28
  1570.  
  1571.  
  1572.      NRPTEQUA      (Supervisor-equilavent needed to run this utility)
  1573.  
  1574.  
  1575.          This will create a printable report text file that will list
  1576.          all Users in alphabetical order that have security equivalences
  1577.          to another User.
  1578.  
  1579.  
  1580.          Returned Error Codes are:
  1581.  
  1582.               9 - Syntax Error.
  1583.               8 - Must be Logged In.
  1584.               7 - Unable to access current subdirectory.
  1585.               6 - Must be a Supervisor-Equivalent.
  1586.               5 - Error writing Report File.
  1587.               0 - Normal Exit.
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.                                   Page 29
  1626.  
  1627.  
  1628.      NRPTIPX       (Still working on this)
  1629.  
  1630.  
  1631.          NRPTIPX
  1632.  
  1633.  
  1634.          This utility will listen and display all incoming IPX packets.
  1635.          The source physical, destination physical, and other data is
  1636.          displayed for all packets.  100 samples are accepted before
  1637.          exiting program.  ESC will exit program.
  1638.          Usages:  Verifying that packets are getting to the workstation;
  1639.               trying to trace babbling workstations; find bad wiring;
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.                                   Page 30
  1682.  
  1683.  
  1684.      NRPTPCON
  1685.  
  1686.  
  1687.          NRPTPCON  ObjectName
  1688.  
  1689.               if ObjectName is a User, then create a report on the
  1690.                    specified user.
  1691.               if ObjectName is a Group, then create a report on all
  1692.                    users that are a member of specified Group.
  1693.  
  1694.          ei.  NRPTPCON Brenda     create a report on Brenda,
  1695.               NRPTPCON MIS        create a report for every user in the
  1696.                                   group MIS.
  1697.  
  1698.  
  1699.          This utility will read the specified User's PRINTCON.DAT and
  1700.          create a printable text file of all printer configuration
  1701.          parameters.
  1702.  
  1703.          Sample usages:  Document a User's printer configuration
  1704.          setting; find dissimilar settings among users or groups; 
  1705.  
  1706.  
  1707.          Returned Error Codes are:
  1708.  
  1709.               9 - Syntax Error.
  1710.               8 - Must be Logged In.
  1711.               7 - Unable to access current subdirectory.
  1712.               6 - Specified User / Group does not exist.
  1713.               5 - Unable to Access \MAIL subdirectory.
  1714.               4 - User's PRINTCON.DAT file structure is corrupt.
  1715.               2 - Error writing report file.
  1716.               0 - Normal Exit.
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.                                   Page 31
  1738.  
  1739.  
  1740.      NRPTSCRP
  1741.  
  1742.  
  1743.          NRPTSCRP  ObjectName
  1744.  
  1745.               if ObjectName is a User, then create a report on the
  1746.                    specified user's login script file.
  1747.               if ObjectName is a Group, then create a report on all
  1748.                    users that are a member of specified group.
  1749.               if ObjectName is SYSTEM, then create a report on the
  1750.                    current server's system login script, and the
  1751.                    AUTOEXEC.NCF file.
  1752.                    (Current user must be Supervisor-equivalent)
  1753.  
  1754.               ei.  NRPTSCRP Brenda     create a report on Brenda's
  1755.                                        personal login script.
  1756.                    NRPTSCRP MIS        create a login report for every
  1757.                                        user in the group called MIS.
  1758.                    NRPTSCRP SYSTEM     create a system report that will
  1759.                                        document the system login script
  1760.                                        and also the server's
  1761.                                        autoexec.ncf batch file.
  1762.  
  1763.  
  1764.          This utility will help you document the system and personal
  1765.          login scripts for your server.  
  1766.  
  1767.          Sample Usages:  documenting your lan;
  1768.  
  1769.  
  1770.          Returned Error Codes are:
  1771.  
  1772.               9 - Syntax Error.
  1773.               8 - Must be Logged In.
  1774.               7 - Unable to access current subdirectory.
  1775.               6 - Specified User / Group does not exist.
  1776.               0 - Normal Exit.
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.                                   Page 32
  1794.  
  1795.  
  1796.      NRPTOWN
  1797.  
  1798.  
  1799.          NRPTOWN Drive:\Subdirectory
  1800.  
  1801.  
  1802.          This utility will create a report of Disk Consumption sorted by
  1803.          Owner.  The report will consist of Disk consumption of the cur-
  1804.          rent working subdirectory (or specified on command line) and
  1805.          all of its subdirectories.
  1806.  
  1807.          Sample Usages:  management reports; statistical analysis;
  1808.               tracking causes of low disk space available; notifying
  1809.               groups that their disk usage is too low/high.
  1810.  
  1811.  
  1812.          Returned Error Codes are:
  1813.  
  1814.               9 - Syntax Error.
  1815.               8 - Must be Logged In.
  1816.               7 - Unable to access current subdirectory.
  1817.               6 - Unable to access specified subdirectory.
  1818.               5 - Working subdirectory does not exist on Server.
  1819.               4 - Error while accessing subdirectories.
  1820.               2 - Error writing report file.
  1821.               0 - Normal Exit.
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.                                   Page 33
  1850.  
  1851.  
  1852.      NSELPRNJ
  1853.  
  1854.  
  1855.          NSELPRNJ
  1856.  
  1857.          ei.  NSELPRNJ            inquire from enduser the desired job
  1858.                                   configurations for each of the printer
  1859.                                   ports, ask-to-activate, and
  1860.                                   ask-to-save to a personal routing
  1861.                                   'database' file.
  1862.               NSELPRNJ SET        read the enduser's personal routing
  1863.                                   'database' file, and activate those
  1864.                                   print jobname settings.
  1865.  
  1866.  
  1867.          This utility will display a menu for the enduser to select the
  1868.          default print jobname for each of the three printer ports.
  1869.  
  1870.          Setup instructions:
  1871.               . Add the 'Default Printer Routing' in a menu item, with
  1872.                    the batch NSELPRNJ.
  1873.               . Add  NSELPRNJ SET   to your system login script.
  1874.               . Inform users that they can setup their default printer
  1875.                    routing by choosing this utility in your menu
  1876.                    program.  (Also, remind them that they can change
  1877.                    these options at anytime.)
  1878.  
  1879.               Installation complete.  From now on, when a user logs into
  1880.               the File Server, his choosen printer routings are
  1881.               automatically activated.
  1882.  
  1883.          Sample Usages:  administrator no longer has to maintain a
  1884.          personal login script or other manual settings for the enduser;
  1885.          with this, if the enduser is smart enough to pick from a menu,
  1886.          then he can maintain his own printer routing needs!; free
  1887.          administrator from maintaining the endusers' printer routing
  1888.          thru personal login scripts;
  1889.  
  1890.  
  1891.          Returned Error Codes are:
  1892.  
  1893.               9 - Syntax Error.
  1894.               8 - Must be Logged In.
  1895.               7 - Unable to access current subdirectory.
  1896.               6 - Abnormal User identity.
  1897.               5 - Insufficent rights or unable to find PRINTCON.DAT in
  1898.                    current user's MAIL subdirectory.
  1899.               4 - User's PRINTCON.DAT file is corrupt.
  1900.               0 - Normal Exit.
  1901.  
  1902.  
  1903.  
  1904.  
  1905.                                   Page 34
  1906.  
  1907.  
  1908.      NSETTIME
  1909.  
  1910.  
  1911.          NSETTIME
  1912.  
  1913.  
  1914.          Note:  You must be a Console Operator on the File Server in
  1915.          order to change the Date/Time of the File Servers.
  1916.  
  1917.          This utility will set all attached servers to the same Date /
  1918.          Time as the workstation running this utility.
  1919.          The workstation must be first set to the exact time that you
  1920.          want the servers synchronized for.
  1921.  
  1922.  
  1923.          Returned Error Codes are:
  1924.  
  1925.               8 - Must be Logged In.
  1926.               1 - Unable to set the Date/Time on all Servers.
  1927.               0 - Normal Exit.
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.                                   Page 35
  1962.  
  1963.  
  1964.      NSUBOWN       (Supervisor-equilavent needed to run this utility)
  1965.  
  1966.  
  1967.           NSUBOWN  Drive:\PathName
  1968.  
  1969.  
  1970.          This utility will display/change the File owner of all
  1971.          subdirectories below it using the directly below directories
  1972.          name.
  1973.               For instance:
  1974.               Currently at  H:\USR, and when using DIR, it will display:
  1975.                    ALVIN <Subdirectory>
  1976.                    BETTY <Subdirectory>
  1977.                    CALVIN <Subdirectory>
  1978.                    DENNIS <Subdirectory>
  1979.                    MiscFile <some files...>
  1980.               Execute this utility by  NSUBOWN  [return]
  1981.               The utility check if ALVIN is a valid owner name, if it is
  1982.               then it will set ALVIN's subdirectory (and all further be-
  1983.               low) to the owner set to ALVIN.
  1984.               Then, it will check if BETTY is a valid owner name, if it
  1985.               is then it will set BETTY has being the owner of BETTY
  1986.               subdirectory (and all further below).
  1987.               It will do this to DENNIS also.
  1988.               But, if DENNIS does not exist as an Owner, then it will
  1989.               display  Does Not Exist, and skip to the next
  1990.               subdirectory.
  1991.  
  1992.          Sample usages:  If this is done to the personal subdirectories
  1993.               then  it will give a more accurate consumption of disk
  1994.               space when using the NRPTOWN utility;  setting files to
  1995.               their correct owner(LoginName, Group, Server) will make
  1996.               them easier to administer.
  1997.  
  1998.  
  1999.          Returned Error Codes are:
  2000.  
  2001.               9 - Syntax Error.
  2002.               8 - Must be Logged In.
  2003.               7 - Unable to access current subdirectory.
  2004.               6 - Must be a supervisor or equivalent.
  2005.               5 - Unable to access specified subdirectory.
  2006.               4 - Subdirectory must exist on Server.
  2007.               3 - Error accessing subdirectories.
  2008.               0 - Normal Exit.
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.                                   Page 36
  2018.  
  2019.  
  2020.      NTRAFFIC
  2021.  
  2022.  
  2023.          NTRAFFIC       (This works on Netware 2.x and 3.x !)
  2024.  
  2025.          This utility will first display the Top 10 workstations with
  2026.          the most packets sent/received and error stats, then display
  2027.          the Top 5 most active workstations every 10 seconds.  The Top 5
  2028.          most active list will cycle for 5 minutes or until a keystroke
  2029.          is pressed.
  2030.  
  2031.          Sample Usages:  Find the most active workstations;  find a
  2032.               workstation that an application babbling on the wire;
  2033.  
  2034.  
  2035.          Returned Error Codes are:
  2036.  
  2037.               9 - Syntax Error.
  2038.               8 - Must be Logged In.
  2039.               7 - Unable to access current subdirectory.
  2040.               6 - Specified group does not exist.
  2041.               2 - Error writing report file.
  2042.               0 - Normal Exit.
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.                                   Page 37
  2074.  
  2075.  
  2076.      NXMSMEM
  2077.  
  2078.  
  2079.          NXMSMEM
  2080.  
  2081.          This program will return the amount of XMS memory available.
  2082.          (Microsoft's HIMEM.SYS is a XMS memory driver).
  2083.          It will return the amount 10K increments as an ExitLevel.  For
  2084.          example, if NXMSMEM found 2304K available, then it will return
  2085.          with an exitlevel of 230.
  2086.          The maximum exitlevel returned is 255.
  2087.  
  2088.          Sample Usages:  Insert before a application call in a batch
  2089.               file, and if there isn't enough memory available, then
  2090.               goto the appropriate message in the batch file; if there
  2091.               is enough XMS memory then load the protected version of
  2092.               the application instead of the real mode version; avoid
  2093.               the maintenance headache of keeping multiple AUTOEXEC.BAT
  2094.               and CONFIG.SYS files for different machines;
  2095.  
  2096.          For example:
  2097.  
  2098.               Use it to load the XMSNETx instead of the NETx shell.
  2099.  
  2100.                    NXMSMEM
  2101.                    if errorlevel 7      XMSNETX
  2102.                    NETX
  2103.  
  2104.               Use it load the appropiate version of Informix SmartWare.
  2105.  
  2106.                    NXMSMEM
  2107.                    if errorlevel 96 goto ProtMode
  2108.                    SMART %1%2
  2109.                    goto Next
  2110.                    echo Loading in Protected Mode
  2111.                    :ProtMode
  2112.                    SMARTP %1%2
  2113.                    :Next
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.                                   Page 38
  2130.  
  2131.  
  2132.      TABLE A:
  2133.  
  2134.  
  2135.          Diagnostic stats include:   (NCARD also uses the list below)
  2136.               #   stands for   'Number of times that'
  2137.  
  2138.          IPX Total Send Packets        
  2139.               # applications called IPX to send a packet.
  2140.          IPX Err Malformed Packets     
  2141.               # applications gave IPX a malformed packet.
  2142.          IPX Get ECB Requests          
  2143.               # IPX created a Receive ECB for a incoming packet.
  2144.          IPX Err Get ECB Failures      
  2145.               # IPX was unable to supply a ECB for an incoming  .
  2146.          IPX ECB Listen Count          
  2147.               # applications gave IPX a Listen ECB.
  2148.          IPX Err ECB Cancel Failures   
  2149.               # IPX was unable to cancel an ECB.
  2150.          IPX AES Events                
  2151.               # IPX used AES to schedule an event.
  2152.          IPX Err AES postponed Events  
  2153.               # IPX was unable to service an AES event when scheduled.
  2154.          IPX Max Configured Sockets    
  2155.               Number of Sockets available as set in configuration.
  2156.          IPX Max Open Sockets          
  2157.               Maximum number of concurrently Open Sockets.
  2158.          IPX Err Open Socket Failures  
  2159.               # an Open Socket Failure due to either all sockets used or
  2160.               socket was already open.
  2161.          IPX Err Find Route Failures   
  2162.               # IPX was not able to find a route to the server.
  2163.          SPX Max Configured Connections  
  2164.               Maximum number of Connections available as set in
  2165.               configuration parameters.
  2166.          SPX Max Used Connections      
  2167.               Maximum number of concurrently used Connections.
  2168.          SPX Estab Connect Requests    
  2169.               # applications have called SPX to establish a Connection.
  2170.          SPX Estab Connect Failures
  2171.               # a connection request failed.
  2172.          SPX Err Listen Connect Failures
  2173.               # applications called SPX to listen for connection
  2174.               requests.
  2175.          SPX Send Sequenced Packets    
  2176.               # applications called SPX to send a sequenced packet.
  2177.          SPX Err Windows Chokes        
  2178.               # a Send Request failed because the destination station
  2179.               did not allocate a receive buffer.
  2180.          SPX Err Send Failures         
  2181.               # applications gave SPX a bad send packet.
  2182.          SPX Err Abort Connections     
  2183.               # an application aborted a SPX connection.  This is not
  2184.  
  2185.                                   Page 39
  2186.               nice for an application to do.
  2187.          SPX ECB Listen Packets        
  2188.               # applications gave SPX a Listen ECB.
  2189.          SPX Err ECB Bad Listen Packet 
  2190.               # applications gave SPX a malformed packet.
  2191.          SPX Err Receive Duplicate Packets    
  2192.               # SPX has discarded a duplicate of a previously received
  2193.               packet.
  2194.          SPX Incoming Packets          
  2195.               # the driver gave SPX an incoming packet.
  2196.          SPX Err Bad Incoming Packets  
  2197.               # SPX received a packet with an incorrect connection ID.
  2198.          SPX Err No Session Listen ECB 
  2199.               # SPX did not have a Connection Listen ECB to accept an
  2200.               incoming Connection Request packet.
  2201.          SPX Err Watchdog Destroy Sessions
  2202.               # the Watchdog process destroyed an invalid connection.
  2203.          Shl Total Shell Requests      
  2204.               # the shell sent requests to a File Server.
  2205.          Shl Err Operator Aborts       
  2206.               # the User told the shell to 'A'bort the connection when
  2207.               it encountered a network error.
  2208.          Shl Err Operator Retries      
  2209.               # the User told the shell to 'R'etry the connection when
  2210.               it encountered a Network error.
  2211.          Shl Err Time Outs (Server TimedOut)
  2212.               # the shell did not a receive a reply from the server.
  2213.          Shl Err Write Error           
  2214.               # the driver was unable to send a request (even after
  2215.               several attempts).
  2216.          Shl Err Invalid Reply Header  
  2217.               # an unexpected packet was received.
  2218.          Shl Err Invalid Slot          
  2219.               # a received packet specified an incorrect connection ID.
  2220.          Shl Err Invalid Sequence #    
  2221.               # a received packet specified an incorrect sequence
  2222.               number.
  2223.          Shl Err Receive OverRun       
  2224.               # a packet was received before the driver could process
  2225.               it.
  2226.          Shl Err No Router Found       
  2227.               # the shell could not find an alternate route to the
  2228.               destination address.
  2229.          Shl Err Being Processed (Server Busy)
  2230.               # the Server replied that it was still processing the
  2231.               previous packet.
  2232.          Shl Err Unknown Error         
  2233.               # an unknown error occurred with a received packet.
  2234.          Shl Err Invalid Server Slot   
  2235.               # the shell used an invalid connection number according to
  2236.               the server.
  2237.          Shl Err Alloc No Slots Avail  
  2238.               # the server replied that it did not have any available
  2239.               connection slots.
  2240.  
  2241.                                   Page 40
  2242.          Shl Err Alloc Server is Down  
  2243.               # applications specified a file server that is down.
  2244.          Drv Total Tx Packets          
  2245.               Number of successfully transmitted packets.
  2246.          Drv Total Rx Packets          
  2247.               Number of successfully received packets.
  2248.          Drv Err Tx Retry Count        
  2249.               # a packet was resent.  (like when a collision occurs)
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.                                   Page 41
  2298.  
  2299.  
  2300.      [Limited License]
  2301.  
  2302.      This software is copyrighted but a limited license is granted and
  2303.      you are free to use and share it under the following conditions:
  2304.  
  2305.          1.   These programs are not distributed in modified form.
  2306.          2.   Reference to the copyright and author is retained.
  2307.          3.   I do request that if these programs help you in network
  2308.               administration/maintenance, and so hence you monetarily
  2309.               benefit, then send $25 (minimum) to the author.
  2310.  
  2311.      [Registration]
  2312.  
  2313.      A minimum registration fee of $25 (US currency) is good for all
  2314.      enclosed utilities and additional utilities provided in future.
  2315.      Each registration fee is good for all workstations on one server.
  2316.      Each registration fee includes one free upgrade cycle in addition
  2317.      to the current release diskette that I send to you when I receive
  2318.      your registration.
  2319.      After the one free upgrade cycle, additional upgrade cycles can be
  2320.      purchased for $10 per cycle.
  2321.  
  2322.      Payment Procedure:
  2323.  
  2324.          .    Send your business card with current shipping address.
  2325.          .    Money Order, Check and Company check are the only forms of
  2326.               accepted registration payment.  Cash is okay, but not
  2327.               preferable if you use normal postal methods.
  2328.               If Outside of US, then please send only US Postal Money
  2329.               Orders or cash (securely mailed).
  2330.          .    Send above items to :
  2331.                    Darwin Collins
  2332.                    1216 Hilburn Ct
  2333.                    Irving, Texas  75060
  2334.  
  2335.  
  2336.      [Warranty]
  2337.      These programs are provided "AS IS" without warranty of any kind,
  2338.      either expressed or implied, including, but not limited to the
  2339.      implied   warranties of merchantability and fitness for any
  2340.      purpose.  The entire risk as to the quality and performance of this
  2341.      program is with the user and should the program prove defective,
  2342.      the user and not the author will assume all responsibility with
  2343.      correcting all information.  The author does not warrant that this
  2344.      program will function in the desired mode or will meet any users
  2345.      requirements or that the operation of the program will be error
  2346.      free.
  2347.      But, You are certainly entitled to complain about Bugs you find in
  2348.      these programs.
  2349.  
  2350.  
  2351.  
  2352.  
  2353.                                   Page 42